//
//  JrdChangeAccountCellTableViewCell.m
//  iMandarin
//
//  Created by longcheng on 16/7/23.
//  Copyright © 2016年 Singro. All rights reserved.
//

#import "JrdChangeAccountCellTableViewCell.h"
#import "JrdCommon.h"
@implementation JrdChangeAccountCellTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        //[self initViews:<#(NSInteger)#>]
        //self.backgroundColor = JrdWhite1Color;//JRD_RGB(190, 190, 190);//[UIColor whiteColor];
    }
    return self;
}

- (void)initViews:(NSInteger)height{
    //Account imageView and Account Username
    //title
    self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(JRD_LEARN_STA_X, 0, SCREEN_WIDTH/2, height)];
    self.titleLabel.textAlignment = NSTextAlignmentLeft;
    self.titleLabel.textColor = [UIColor blackColor];
    self.titleLabel.font = [UIFont fontWithName:@"HelveticaNeue-Light" size:18.f];//font;//UIFont systemFontOfSize:18];
    [self addSubview:self.titleLabel];
    
    //des
    self.valueLabel = [[UILabel alloc] initWithFrame:CGRectMake((SCREEN_WIDTH/2), 0, (SCREEN_WIDTH/2  - 30), height)];
    self.valueLabel.textAlignment = NSTextAlignmentRight;
    self.valueLabel.textColor = Jrd9BColor;//[UIColor blackColor];
    self.valueLabel.font = [UIFont boldSystemFontOfSize:14.f];
    [self addSubview:self.valueLabel];
    
    self.back_icon = [[UIImageView alloc] initWithFrame:CGRectMake((SCREEN_WIDTH - 30), (height- 14)/2, 9  , 14)];
    self.back_icon.image = [UIImage imageNamed:@"ico_arrow_right"];
    [self addSubview:self.back_icon];
    
    self.icon = [[UIImageView alloc] initWithFrame:CGRectMake((SCREEN_WIDTH - 90), (height - 50)/2, 50  , 50)];

    [self addSubview:self.icon];
    
    
    
}


@end
